Ext.define('Seq.app.CardController', {
	        extend : 'Seq.app.BaseController',

	        setCurrent : function(view, params) {
		        var me = this, contentPanel = this.getReferences().contentPanel;
		        var contentLayout = contentPanel.getLayout();
		        var lastView = contentLayout.getActiveItem(), newView = lastView;
		        var existingItem = contentPanel.child('component[routeId=' + view + ']');

		        if (existingItem) {
			        if (existingItem !== lastView) {
				        params && params.viewModel // 需要将新的参数赋值给窗体
				                && existingItem.getViewModel().setData(params.viewModel.data);
				        newView = contentLayout.setActiveItem(existingItem);
			        }
		        } else {
			        Ext.suspendLayouts();
			        newView = contentLayout.setActiveItem(contentPanel.add(Ext.apply({
				                xtype : view,
				                hideMode : 'offsets',
				                routeId : view
			                }, params)));
			        Ext.resumeLayouts(true);
		        }

		        // if (newView.isFocusable(true)) {
		        // newView.focus();
		        // }
		        me.getViewModel().set('currentView', newView);
		        return newView;
	        },

	        onBack : function(button) {
		        var me = this, back = me.getViewModel().get('back');
		        me.setCurrent(Ext.isString(back) ? back : back.xtype);
	        }

        });